#!/bin/bash
echo
echo -e "Enter three numbers: \c"
read num1 num2 num3
if test "$num1" -lt "$num2" -a "$num1" -lt "$num3"
then
    echo "The smallest number is: $num1"
elif test "$num2" -lt "$num1" -a "$num2" -lt "$num3"
then
    echo "The smallest number is: $num2"
else
    echo "The smallest number is: $num3"
fi
echo "Done!"
echo
exit 0